-
Home
-
Gutenberg Essential Blocks – Page Builder for Gutenberg Blocks & Patterns
-
4.2.1
-
Code
-
Classes
- TableOfContents
| Total Complexity |
76 |
| Dependencies |
2 |
| Dependents |
0 |
| Total lines |
352 |
| Lines of code |
246 |
| Logical lines of code |
159 |
| Comment lines |
66 |
| Methods |
8 |
| Properties |
4 |
Methods 8
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| render_callback() |
D |
29 |
40 |
99 |
| getHeadersFromContent() |
A |
43 |
9 |
52 |
| getHeadingsFromHeadingElements() |
A |
49 |
8 |
33 |
| get_editor_type() |
S |
60 |
8 |
12 |
| generate_toc() |
S |
52 |
7 |
24 |
| parseTocSlug() |
S |
58 |
2 |
16 |
| get_name() |
S |
82 |
1 |
3 |
| register_scripts() |
S |
70 |
1 |
7 |